package lv.imho.server.services;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

/**
 * Service that provides persistence functionality.
 * 
 * @author Igors Gulbinskis
 */
public class PersistenceService {
	
	private static final PersistenceManagerFactory pmfInstance =
		JDOHelper.getPersistenceManagerFactory("transactions-optional");
	
	public static PersistenceManagerFactory getFactory() {
		return pmfInstance;
	}

}
